home *** CD-ROM | disk | FTP | other *** search
/ Mac Mania 5 / MacMania 5.toast / / Tools&Utilities / Plotfoil 3.2 / plotfoil.man < prev    next >
Encoding:
Text File  |  1995-06-12  |  13.6 KB  |  12 lines  |  [TEXT/ttxt]

  1.  
  2.  
  3.  
  4. plotfoil(1l)                                         plotfoil(1l)
  5.  
  6.  
  7. NNAAMMEE
  8.        pplloottffooiill - generate a PostScript plot of airfoil data.
  9.        eeddiittffooiill - modify camber and thickness of airfoil data.
  10.        mmiixxffooiillss - interpolate between two airfoil sections.
  11.  
  12. SSYYNNTTAAXX
  13.        pplloottffooiill [_o_p_t_i_o_n_s] [_f_i_l_e_n_a_m_e_._._.]
  14.        eeddiittffooiill [_o_p_t_i_o_n_s] [_f_i_l_e_n_a_m_e]
  15.        mmiixxffooiillss [_o_p_t_i_o_n_s] _s_e_c_t_i_o_n_1 _s_e_c_t_i_o_n_2
  16.  
  17. DDEESSCCRRIIPPTTIIOONN
  18.        pplloottffooiill  plots  (in  PostScript)  airfoil sections (well,
  19.        actually any section that is not smoothly closed). It  can
  20.        also  allow  for  spars, sheeting, and prints registration
  21.        marks that are aligned with the L.E.  and  T.E.   It  uses
  22.        Bezier splines to interpolate between data points, with an
  23.        option to use straight lines instead.
  24.  
  25.        The other two programs, eeddiittffooiill and mmiixxffooiillss, modify air-
  26.        foil  data. By default they send the data to standard out-
  27.        put, so they can be used in a pipe to pplloottffooiill to plot the
  28.        results. (Unix only.)
  29.  
  30. OOVVEERRVVIIEEWW
  31.        Plotfoil  reads airfoil data and generates PostScript code
  32.        that when printed on a PostScript printer will  deliver  a
  33.        plot of the airfoil section along with spars (if any). The
  34.        bounds of the section are also drawn,  with  crosses,  and
  35.        these  can  be  used  for registration of the ribs or tem-
  36.        plates. If the plot is going to be larger than  one  page,
  37.        it  will automatically be spread over as many pages as are
  38.        required.
  39.  
  40.        PostScript is a printer language  for  describing  printed
  41.        pages.  Printers  that accept PostScript include the Apple
  42.        LaserWriters,  QMS  PS-  series   printers,   DataProducts
  43.        LZR-2665  and 2660 and the Linotronic 100 and 300 typeset-
  44.        ters.  PostScript is a trademark of Adobe Systems Incorpo-
  45.        rated. The ghostscript program can convert PostScript to a
  46.        variety of printer formats if a PS printer is  not  avail-
  47.        able.  (Ghostscript  can  also be used to preview plots on
  48.        the display.)
  49.  
  50.        Bezier splines are used to calculate interpolating  curves
  51.        between  the  points.   In  some  case the process may not
  52.        deliver a smooth curve, and  you  will  have  to  use  the
  53.        straight-line plot option (--ss).
  54.  
  55.        pplloottffooiill  can  also  account for sheeting. If the wing you
  56.        are building is to be sheeted, the ribs or templates  need
  57.        to  be inset from the required surface by the thickness of
  58.        the sheet. The airfoil outline is plotted  with  a  dotted
  59.        line, and the template line is drawn with a solid line.
  60.  
  61.  
  62.  
  63.  
  64.                             Feb. 1992                           1
  65.  
  66.  
  67.  
  68.  
  69.  
  70. plotfoil(1l)                                         plotfoil(1l)
  71.  
  72.  
  73. OOPPTTIIOONNSS
  74.        Under  MS-DOS, the ``/'' can be used as the option charac-
  75.        ter instead of the ``-''.
  76.  
  77.        --cc     Sets the chord of the section to plot. The argument
  78.               is  the chord, in units of either mm, cm or inches.
  79.               The units are specified by a trailing `m', `c',  or
  80.               `i',  with the default of mm being used if unspeci-
  81.               fied.
  82.  
  83.        --ss     This flag indicates that for _x  values  of  greater
  84.               than  2.5%,  straight  lines should be used to join
  85.               the points. This results in a PostScript file which
  86.               is  probably  just as good but should print in less
  87.               time. The limit (2.5%) can be changed with  the  --ll
  88.               option.
  89.  
  90.        --ll     This  option  changes  the  limit  used with the --ss
  91.               option. It takes the percentage-chord as  argument.
  92.  
  93.        --pp     This  invokes  the  interactive mode where plotfoil
  94.               will prompt you for all the paramters of the  plot.
  95.               If  plotfoil  is  invoked  without  an arguments it
  96.               automatically enters prompt mode.
  97.  
  98.        --ii     This option draws the section inset by  the  speci-
  99.               fied  amount,  which  is  what you would use if the
  100.               wing you are building is sheeted. The units default
  101.               to those used for the chord.
  102.  
  103.        --sspp    This  option  adds a spar to the plot. It takes two
  104.               arguments, the offset (expressed as a percentage of
  105.               the  chord)  and the thickness of the spar (default
  106.               units: same as used for the chord). This option can
  107.               be  used multiple times to draw more than one spar.
  108.               Also, 0-thickness spars can be used to draw  verti-
  109.               cal lines on the plot.
  110.  
  111.        --tthh    This  option  sets  the height of the template out-
  112.               line, measured from the chord line. The default  is
  113.               0.
  114.  
  115.        --ttll
  116.  
  117.        --tttt    These  options  set  the  horizontal extents of the
  118.               template. The value specified is  the  distance  of
  119.               the  edge of the template from the {leading, trail-
  120.               ing} edge.  The units default  to  those  specified
  121.               while setting the chord. The default value is 0.
  122.  
  123.               If  any of --tthh, --ttll or --tttt is used, a template will
  124.               be drawn.
  125.  
  126.        --aa     Turns the section by this many degrees. This useful
  127.  
  128.  
  129.  
  130.                             Feb. 1992                           2
  131.  
  132.  
  133.  
  134.  
  135.  
  136. plotfoil(1l)                                         plotfoil(1l)
  137.  
  138.  
  139.               for  adding washout or washin. A positive number is
  140.               a rotation in the counter-clockwise direction; neg-
  141.               ative is clockwise.
  142.  
  143.        --hh     Prints some help information.
  144.  
  145.        --oo     Writes the output to the specified file.
  146.  
  147.        --xx     This  option  moves  the drawing on the page to the
  148.               right. Some printers (or ghostscript drivers)  have
  149.               different  ideas  about  what constitutes centered.
  150.               This option can be used for fine-tuning.
  151.  
  152.        --yy     Same as --xx except that it moves the drawing up.
  153.  
  154. eeddiittffooiill
  155.        --cc     Modifies the camber to  this  value  (expressed  as
  156.               percent. chord). 0 is valid.
  157.  
  158.        --tt     Modifies  the thickness to this value (expressed as
  159.               percent. chord).
  160.  
  161.        --oo     Writes the output to the specified file.
  162.  
  163. mmiixxffooiillss
  164.        --rr     The interpolation ratio. The generated section will
  165.               be  _r  of  the  second  section  and _(_1_0_0_-_r_) of the
  166.               first. If you have one  section  at  the  root  and
  167.               another  at  the  tip,  to  find the section at 70%
  168.               semi-span out you would use 70.
  169.  
  170.        --oo     Writes the output to the specified file.
  171.  
  172. IINNPPUUTT FFOORRMMAATTSS
  173.        There are two formats for  pplloottffooiill  input  data,  distin-
  174.        guished  by  how coordinates are specified. The first line
  175.        of the file is taken to be the name of the section and  is
  176.        printed along with the plot.
  177.  
  178.        The  smallest  _x  value  (usually 0.0) is the L.E. and the
  179.        largest (usually 1.0) is the T.E.
  180.  
  181.        This is the first format:
  182.  
  183.           SSDD--88002200
  184.           11..00 00
  185.           00..99 00..001111
  186.           00..8855 00..0022
  187.           ......
  188.           11..00 00
  189.  
  190.        Note: it starts at _x=1.0 (the trailing edge), goes  around
  191.        and  ends again at the T.E. This is the format used by the
  192.        sections in Soartech 8.
  193.  
  194.  
  195.  
  196.                             Feb. 1992                           3
  197.  
  198.  
  199.  
  200.  
  201.  
  202. plotfoil(1l)                           in at the T.E. This is the format used by the
  203.        sections in Soartech 8.
  204.  
  205.  
  206.  
  207.                             Feb. 1992                           3
  208.  
  209.  
  210.  
  211.  
  212.  
  213. plotfoil(1l)                                         plotfoil(1l)
  214.  
  215.  
  216.        This is the second format:
  217.  
  218.           CCllaarrkk YYHH
  219.           00 00 00
  220.           00..00112255 00..00440099 --00..00118833
  221.           00..002255 ..00552299 --..00227711
  222.           ......
  223.           11..00 00 00
  224.  
  225.        This starts at the L.E. and ends at  the  T.E.,  with  the
  226.        columns being the upper and lower ordinate values. This is
  227.        the format that most of the NACA sections  were  published
  228.        in.
  229.  
  230.        eeddiittffooiill and mmiixxffooiillss both print data in the first format.
  231.  
  232. EEXXAAMMPPLLEESS
  233.        This command:
  234.  
  235.               pplloottffooiill --cc 2200cc --ii 22mm --sspp 3322 00..22 ssdd88002200 || llpprr
  236.  
  237.        will plot the SD-8020 section with a chord of 20cm, with a
  238.        sheeting  allowance  of  2mm,  and  a spar 2mm wide at 32%
  239.        chord. The name of the section and the sheeting  allowance
  240.        are also printed.
  241.  
  242.               pplloottffooiill  --cc  88..55ii  --ii 00..112255 --ss --ll 1100 --oo ccllaarrkkYYHH..ppss
  243.               ccllaarrkkYYHH
  244.  
  245.        will plot the Clark YH with a chord of  8.5  inches.  Only
  246.        the area from the L.E.  to 10% back will interpolated with
  247.        splines, and from 10% to the T.E.; straight lines will  be
  248.        used to connect the points. A sheeting allowance of 0.125"
  249.        (1/8") will also be drawn. The PostScript will be left  in
  250.        "clarkYH.ps".
  251.  
  252.               pplloottffooiill  --cc  445500mm --ii 11 --sspp 55 00..55 --sspp 3300 22..55 --tthh 7700
  253.               --tttt 1100 --ttll 1100 --xx --11..55cc --oo rrgg1155..ppss RRGG--1155
  254.  
  255.        This plots the RG-15 airfoil with a chord of 450mm.  Since
  256.        this  is too large to fit on one page it will be automati-
  257.        cally split across two pages. A sheeting allowance of  1mm
  258.        is  printed,  and  there  are two spars: one at 30% that's
  259.        2.5mm thick, and another at 5% that's very narrow, i.e.  a
  260.        LE  marking.   A  rectangular template is drawn around the
  261.        plot; and all the graphics are moved to the _l_e_f_t by 1.5cm,
  262.        i.e.  negative numbers can be used in the positioning. The
  263.        PostScript is saved in "rg15.ps".
  264.  
  265.               eeddiittffooiill --cc 00 --oo ssyymmmmeettrriicc..aaiirrffooiill SSDD--77003377
  266.  
  267.        Construct a symmetric airfoil from the SD-7037 and save as
  268.        "symmetric.airfoil".
  269.  
  270.  
  271.  
  272.  
  273.                             Feb. 1992                           4
  274.  
  275.  
  276.  
  277.  
  278.  
  279. plotfoil(1l)                                         plotfoil(1l)
  280.  
  281.  
  282.               eeddiittffooiill  --tt 77 --cc 11..55 RRGG--1155 || pplloottffooiill --cc 440000mm --ii 11
  283.               --sspp 3300 11..55 || llpprr
  284.  
  285.        Plot a thinned down (7%) de-cambered (1.5%) RG-15.
  286.  
  287.               mmiixxffooiillss --rr 7755 --oo mmiixxeedd--aaiirrffooiill SSDD--77003377 SSDD--77003322
  288.  
  289.        Generate a section that is 25% SD-7037 and 75% SD-7032.
  290.  
  291. DDIISSTTRRIIBBUUTTIIOONN
  292.        pplloottffooiill, eeddiittffooiill  and  mmiixxffooiillss  are  free;  anyone  may
  293.        redistribute copies of it to anyone under the terms stated
  294.        in the Gnu General Public License version  2,  a  copy  of
  295.        which should accompany each copy of plotfoil. See the file
  296.        ``COPYING'' in the source area. If you do  not  have  this
  297.        file, a copy may be obtained from the author, or from:
  298.           Free Software Foundation
  299.           1000 Mass Ave.
  300.           Cambridge, MA 02138
  301.        or from the author.
  302.  
  303.        Also,  if  you  make any changes to these programs and re-
  304.        distribute them, the same conditions apply to the modified
  305.        version  so  that  we  can all benefit from it. And please
  306.        send me those changes!
  307.  
  308. AAUUTTHHOORR
  309.        Shamim Mohamed (shamim@math.isu.edu)
  310.        Dept of Mathematics
  311.        Idaho State University
  312.        Pocatello, ID 83209
  313.  
  314. BBUUGGSS
  315.        On some printers, there may be a  stack  overflow  if  the
  316.        plot  is  on  more than one page and there are more than a
  317.        certain number of coordinate values. If this happens, try
  318.  
  319.               a) finding another printer, or
  320.  
  321.               b) removing some of the airfoil data.
  322.  
  323.        In the latter case you may still get satisfactory  results
  324.        because of the smooth interpolation used.
  325.  
  326.        Since  the  program  doesn't know how big the printer page
  327.        size is, it can get confused. This should only err conser-
  328.        vatively,  like  producing an extra blank page on a multi-
  329.        page plot. As long as the page is  higher  than  about  11
  330.        inches  (27  cm)  everything should be fine. If you have a
  331.        compiler, adjust the values in pplloottffooiill..hh and recompile.
  332.  
  333.        I don't know of any other bugs right now, but please  send
  334.        all  bug  reports  to  me.  Include version number and the
  335.        exact details (input files, command-line  options   etc.),
  336.  
  337.  
  338.  
  339.                             Feb. 1992                           5
  340.  
  341.  
  342.  
  343.  
  344.  
  345. plotfoil(1l)                                         plotfoil(1l)
  346.  
  347.  
  348.        please.
  349.  
  350.  
  351.  
  352.  
  353.  
  354.  
  355.  
  356.  
  357.  
  358.  
  359.  
  360.  
  361.  
  362.  
  363.  
  364.  
  365.  
  366.  
  367.  
  368.  
  369.  
  370.  
  371.  
  372.  
  373.  
  374.  
  375.  
  376.  
  377.  
  378.  
  379.  
  380.  
  381.  
  382.  
  383.  
  384.  
  385.  
  386.  
  387.  
  388.  
  389.  
  390.  
  391.  
  392.  
  393.  
  394.  
  395.  
  396.  
  397.  
  398.  
  399.  
  400.  
  401.  
  402.  
  403.  
  404.  
  405.                             Feb. 1992                           6
  406.  
  407.  
  408.  
  409.        2
  410.  
  411.  
  412.  
  413.  
  414.  
  415. plotfoil(1l)                                         plotfoil(1l)
  416.  
  417.  
  418.               for  adding washout or washin. A positive number is
  419.               a rotation in the counter-clockwi